import csv
f=open(file='手机号码列表.csv',mode='r',encoding='utf-8')
content=csv.reader(f)
g=open('result.txt','w')
for line in content:
    number=line[0]
    if number.startswith('1510044') and number.endswith('82'):
        g.write(number+'\n')
f.close();g.close()
